﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
	public class M_Phong
	{
		#region Fields

		private int phongID;
		private string sophong;
		private string mota;
		private decimal giatien;
		private string trangthai;

		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the Phong class.
		/// </summary>
		public M_Phong()
		{
		}

		/// <summary>
		/// Initializes a new instance of the Phong class.
		/// </summary>
		public M_Phong(string sophong, string mota, decimal giatien, string trangthai)
		{
			this.sophong = sophong;
			this.mota = mota;
			this.giatien = giatien;
			this.trangthai = trangthai;
		}

		/// <summary>
		/// Initializes a new instance of the Phong class.
		/// </summary>
		public M_Phong(int phongID, string sophong, string mota, decimal giatien, string trangthai)
		{
			this.phongID = phongID;
			this.sophong = sophong;
			this.mota = mota;
			this.giatien = giatien;
			this.trangthai = trangthai;
		}

		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the PhongID value.
		/// </summary>
		public virtual int PhongID
		{
			get { return phongID; }
			set { phongID = value; }
		}

		/// <summary>
		/// Gets or sets the Sophong value.
		/// </summary>
		public virtual string Sophong
		{
			get { return sophong; }
			set { sophong = value; }
		}

		/// <summary>
		/// Gets or sets the Mota value.
		/// </summary>
		public virtual string Mota
		{
			get { return mota; }
			set { mota = value; }
		}

		/// <summary>
		/// Gets or sets the Giatien value.
		/// </summary>
		public virtual decimal Giatien
		{
			get { return giatien; }
			set { giatien = value; }
		}

		/// <summary>
		/// Gets or sets the Trangthai value.
		/// </summary>
		public virtual string Trangthai
		{
			get { return trangthai; }
			set { trangthai = value; }
		}

		#endregion
	}
}
